package com.xwh.article.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * 版本下载地址
 *
 * @author xwh
 **/

@Getter
@Setter
@Entity
@Table
public class SoftwareVersionDownload {

    @Schema(description = "id")
    @Id
    @Column(length = 20)
    @TableId(type = IdType.ASSIGN_ID)
    private String softwareVersionDownloadId;

    @Schema(description = "软件版本id")
    @Column(length = 20)
    private String softwareVersionId;

    @Schema(description = "下载地址")
    @Column(length = 200)
    private String downloadUrl;

    @Schema(description = "下载地址类型")
    @Column(length = 20)
    private String downloadUrlType;

    @Schema(description = "提取码")
    @Column(length = 20)
    private String downloadUrlCode;
}
